<div>
<form class="form-horizontal" role="form"  name="tradeForm" novalitedate>
  <div class="form-ctrl md-whiteframe-z1">
    <div class="form-search" style="height:160px;"  ng-class="{true: 'shou'}[shoumun==0]" >
      <div>
         <label style="">系统</label>
          <md-select ng-model="param.systemCode" ng-change='changeSystem(param.systemCode)' placeholder='统一支付'>
          <md-option ng-value="system.systemCode" ng-repeat="system in systems">{{system.systemName}}</md-option>
         </md-select>
      </div>

      <div>
        <label style="">业务名称</label>
         <md-select   ng-model="param.businessCode"    ng-click='querybusiness()' >
         <md-option   ng-value="busines.businessCode" ng-repeat="busines in business">{{busines.businessName}}</md-option>
        </md-select>
      </div>


       <div>
        <label style="">省公司</label>
          <md-select   ng-model="param.provinceCode"   placeholder='广东'>
          <md-option ng-value="province.provinceCode"    ng-repeat="province in provinces">{{province.provinceName}}</md-option>
        </md-select>
      </div>


       <div >
         <md-input-container>
            <label >流水号</label>
            <input  ng-model='param.serialNum'  maxlength='23'>
          </md-input-container>
       </div>


        <div>
        <md-input-container flex>
        <label >时间</label>
        <input   type="date"  required  name="startTime" ng-model="param.date"   time-date='date'>
        <div ng-messages="tradeForm.startTime.$error">
          <div ng-message="date">请正确输入时间</div>
          <div ng-message="required">必填</div>
          <div ng-message="too-great">时间必须小于当前时间</div>
        </div>
      </md-input-container>
      </div>
   </div>
    <i class="glyphicon glyphicon-chevron-up shrinkage" ng-click="shoumun=0" ></i>
     <md-button  ng-click="dropSw()"  class="md-fab md-primary md-hue-1" aria-label="Profile">
      <i class="glyphicon glyphicon-search" ng-show="shoumun==1" ></i>
      <i class="glyphicon glyphicon-arrow-down" style="margin-top:28px;"  ng-show="shoumun==0"></i>
    </md-button>
  </div>
</form>
<md-button ng-click="returnAnalysis()"  class="md-raised" >返回 </md-button>
<div class="table-info" ng-controller='tableDataCtr'>
 <div class="table-detail">
    <h3 style="text-align:center;">{{param.date | date :'yyyyMMdd'}} {{showText}}端到端时长详细列表</h3>
  <div class="t_r">
    <table class="table table-bordered">
      <thead>
        <tr>
          <th>序号</th>
          <th>日期</th>
          <th>省份</th>
          <th>业务名称</th>
          <th>交易流水号</th>
          <th><md-button ng-click='sort()'>端到端总时长(秒)</md-button></th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat=" item in items.pageLine">
          <td>{{$index+1}}</td>
          <td>{{item.date}}</td>
          <td>{{item.provinceName}}</td>
          <td>{{item.businessName}}</td>
          <td class="table-ellipsis" title='{{item.serialNum}}'><a  style="cursor:hand" href='javaScript:' ng-click='compare(item)'>{{item.serialNum}} </a></td>
          <td>{{item.totalTime}}</td>
       </tr>
      </tbody>
    </table>
  </div>
   <div>
    <ds-page
            total-count=totalCount
            page-size=pageSize
            page-itmes=pageItmes
            current-page=currentPage
            param=params
            go-page="sumturnToPage(param)"
            page-size-change="pageSizeChange(param.page.pageSize)"
            show-max-page="5"
            first-text="<<"
            last-text=">>"
            previous-text="<"
            next-text=">"
            >
    </ds-page>
  </div>
</div>
<core-loading ng-show="isResponded.isRespondedSw"></core-loading>
</div>
